home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILFILE / UNPROPTC.LZH / XTFORMAT.DOC < prev    next >
Text File  |  1983-10-18  |  3KB  |  100 lines

  1. .BAT and .TXT files for DOS 2.0
  2.     for use with hard disk.
  3.  
  4. +---------------------------------------+
  5. |                                       |
  6. |       FORMAT utility for the          |
  7. |                                       |
  8. |       IBM-XT with DOS 2.0.            |
  9. |                                       |
  10. |               by Burgess Allison      |
  11. |                                       |
  12. +---------------------------------------+
  13.  
  14.     This is a method for protecting your
  15. hard disk from being accidentally erased
  16. by IBM's FORMAT command.  If you loaded
  17. DOS onto the hard disk, then enter the
  18. FORMAT command with no parameters, it
  19. automatically begins erasing the default
  20. drive.  If you're in C: you're in trouble.
  21.  
  22.     Instructions for using the utility
  23. are explained in the batch file.
  24.  
  25.     To install the utility, create a
  26. sub-directory called PCDOS:
  27.  
  28.     MD PCDOS <return>
  29.     CD PCDOS <return>
  30.  
  31.     Copy the FORMAT.BAT file into this
  32. directory.  Create, from within PCDOS, a
  33. sub-directory called FORMAT:
  34.  
  35.     MD FORMAT <return>
  36.     CD FORMAT <return>
  37.  
  38.     Create, from within FORMAT, another
  39. sub-directory called SAFETY:
  40.  
  41.     MD SAFETY <return>
  42.     CD SAFETY <return>
  43.  
  44.     Copy the FORMAT.COM command from
  45. your DOS 2.0 diskette into this sub-
  46. directory, but name the newly-created
  47. file XYZZY.COM.  Copy the three FORMAT.
  48. TX* files into this sub-directory.
  49.  
  50.     Then either put a PATH C:\PCDOS
  51. command in your AUTOEXEC.BAT, or leave
  52. the FORMAT.BAT file out in the root
  53. directory.
  54.  
  55.     Obviously, you don't have to use any
  56. of the names I used, but those are the
  57. names referenced in the batch file.
  58.  
  59.     By way of explanation, I have all my
  60. DOS files (with .COM or .BAT extensions)
  61. stored in the PCDOS subdirectory.  By
  62. using a PATH command in AUTOEXEC.BAT, I
  63. have access to all those commands without
  64. having to fill up the root directory.
  65.  
  66.     Good luck.
  67.  
  68.                 Burgess Allison
  69.  
  70.  
  71.  ┌────────────────────────────────────────────────────────────────────────────┐
  72.  │                                                                            │
  73.  │           This FORMAT command has been developed for the IBM-XT            │
  74.  │           to protect against accidental erasure of the hard disk.          │
  75.  │                                                                            │
  76.  │           It will only format diskettes in drive A:                        │
  77.  │                                                                            │
  78.  │           Use the FORMAT command just as described in DOS 2.0,             │
  79.  │           but do not specify the A: drive.  That parameter is              │
  80.  │           automatically forced.                                            │
  81.  │                                                                            │
  82.  └────────────────────────────────────────────────────────────────────────────┘
  83.  
  84.  
  85. Sample batch job follows....
  86.  
  87.  
  88. ECHO OFF
  89. TYPE \PCDOS\FORMAT\SAFETY\FORMAT.TX1
  90. ECHO The FORMAT command you have specified is:   FORMAT A:%1
  91. TYPE \PCDOS\FORMAT\SAFETY\FORMAT.TX2
  92. PAUSE
  93. TYPE \PCDOS\FORMAT\SAFETY\FORMAT.TX3
  94. PATH C:\;C:\PCDOS;C:\PCDOS\FORMAT\SAFETY
  95. XYZZY A:%1
  96. ECHO ON
  97. PATH C:\;C:\PCDOS
  98.  
  99. ******************************************************************************
  100.